package com.basin.micro.auth.dubbo;

import com.basin.dubbo.AuthDubboService;
import com.basin.dubbo.pojo.UriConfigInfo;
import com.basin.dubbo.pojo.UserPermissionInfo;
import org.apache.dubbo.config.annotation.DubboService;

import java.util.Collections;
import java.util.List;

/**
 * @author: Sam ZHONG | sammy1997@aliyun.com
 */
@DubboService
public class AuthDubboServiceImpl implements AuthDubboService {
    @Override
    public List<String> getWhiteIps() {
        return Collections.emptyList();
    }

    @Override
    public List<String> getWhiteUserIds() {
        return Collections.emptyList();
    }

    @Override
    public List<String> getWhiteUris() {
        return Collections.emptyList();
    }

    @Override
    public UriConfigInfo getUriConfigInfo(String uri) {
        return new UriConfigInfo();
    }

    @Override
    public UserPermissionInfo getUserPermissionInfo(Object loginId) {
        return new UserPermissionInfo();
    }
}
